body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.password-box {
    display: flex;
    margin-bottom: 20px;
}

#passwordInput {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    padding: 12px 15px;
    margin-left: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

#toggleVisibility {
    width: 50px;
    background-color: #95a5a6;
}

.strength-meter {
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}

.criteria {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.criteria h3 {
    margin-top: 0;
    color: #2c3e50;
}

.criteria li {
    margin-bottom: 8px;
    list-style-type: none;
    padding-left: 25px;
    position: relative;
}

.criteria li:before {
    content: "✖";
    color: #e74c3c;
    position: absolute;
    left: 0;
}

.criteria li.valid:before {
    content: "✓";
    color: #2ecc71;
}

.suggestions {
    padding: 15px;
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 0 5px 5px 0;
}

.suggestions p {
    margin: 5px 0;
}